<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2020/2/5 0005
 * Time: 下午 5:10
 */
namespace app\admin\traits\model\questions;

Trait Question {

    public function questionCategory()
    {
        return $this->belongsTo('QuestionCategory', 'category');
    }

}